﻿<UserControl x:Class="Patterns4Net.ArchitectureExplorer.Views.DiagramView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:zoom="clr-namespace:WPFExtensions.Controls;assembly=WPFExtensions" 
             xmlns:Graphviz4Net="clr-namespace:Graphviz4Net.WPF;assembly=Graphviz4Net" mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <zoom:ZoomControl x:Name="ZoomControl">
        <StackPanel>
            <Graphviz4Net:GraphLayout Margin="20, 0, 0, 0"
                UseContentPresenterForAllElements="True"
                x:Name="Graph"
                Graph="{Binding CurrentGraph}"/>
            <TextBlock x:Name="WelcomeMessage" TextWrapping="Wrap">
                <TextBlock FontSize="20">Welcome to Architecture Explorer!</TextBlock>
                <LineBreak/>
                Architecture Explorer helps to understand the architecture of .NET assemblies <LineBreak/>
                that are annotated with Paterns4Net attributes. <LineBreak/>               
                Use the buttons in the menu to load one or more .NET assemblies. <LineBreak/> 
                After loading an assembly, it's top level diagram will be shown, <LineBreak/> 
                then you can browse the all the diagrams using the buttons in the menu, <LineBreak/> 
                or by double clicking on elements in the diagram, or by double clicking on <LineBreak/> 
                elements in the Diagram Browser panel, which is on the right side. <LineBreak/> 
            </TextBlock>
        </StackPanel>
    </zoom:ZoomControl>
</UserControl>
